package me.zhengjie.utils;

import lombok.Getter;

import java.util.List;

@Getter
public class PageResult<T> {

    private final List<T> content;

    private final long totalElements;

    public PageResult(List<T> content, long totalElements) {
        this.content = content;
        this.totalElements = totalElements;
    }
}
